package com.diver.flinkdemo.dto.xxt;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yangs
 */
public class TeacherIndexDto {
    private String teacherName;
    private String classInfo;
    private String date;
    private boolean morning = true;
    private int totalStudentNum = 0;
    private int goodNum = 0;
    private int badNum = 0;
    private int unknownNum = 0;

    private List<TeacherIndexItemDto> goodList = new ArrayList<>();
    private List<TeacherIndexItemDto> badList = new ArrayList<>();
    private List<TeacherIndexItemDto> unknownList = new ArrayList<>();

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getClassInfo() {
        return classInfo;
    }

    public void setClassInfo(String classInfo) {
        this.classInfo = classInfo;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public boolean isMorning() {
        return morning;
    }

    public void setMorning(boolean morning) {
        this.morning = morning;
    }

    public int getGoodNum() {
        return goodNum;
    }

    public void setGoodNum(int goodNum) {
        this.goodNum = goodNum;
    }

    public int getBadNum() {
        return badNum;
    }

    public void setBadNum(int badNum) {
        this.badNum = badNum;
    }

    public int getUnknownNum() {
        return unknownNum;
    }

    public void setUnknownNum(int unknownNum) {
        this.unknownNum = unknownNum;
    }

    public List<TeacherIndexItemDto> getGoodList() {
        return goodList;
    }

    public void setGoodList(List<TeacherIndexItemDto> goodList) {
        this.goodList = goodList;
    }

    public List<TeacherIndexItemDto> getBadList() {
        return badList;
    }

    public void setBadList(List<TeacherIndexItemDto> badList) {
        this.badList = badList;
    }

    public List<TeacherIndexItemDto> getUnknownList() {
        return unknownList;
    }

    public void setUnknownList(List<TeacherIndexItemDto> unknownList) {
        this.unknownList = unknownList;
    }

    public void addUnknownItem(TeacherIndexItemDto item){
        this.unknownList.add(item);
    }

    public void addGoodItem(TeacherIndexItemDto item){
        this.goodList.add(item);
    }

    public void addBadItem(TeacherIndexItemDto item){
        this.badList.add(item);
    }

    public int getTotalStudentNum() {
        return totalStudentNum;
    }

    public void setTotalStudentNum(int totalStudentNum) {
        this.totalStudentNum = totalStudentNum;
    }
}
